<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jquery插件</title>
    <style>
        .demo-title {
            padding: 10px;
            color: red;
            background: #fdf6e3;
            box-sizing: border-box;
        }
    </style>
</head>

<body>
    <div class="demo-title">判断是否是h5</div>
    <div class="result"></div>
    <div class="demo-title">jquery实例插件1</div>
    <div class="result1"></div>
    <div class="demo-title">jquery实例插件2</div>
    <div class="result2"></div>
    <script src="../src/jquery-1.9.1.min.js"></script>
    <script src="./toolPlugins.js"></script>
    <script src="./plugin1.js"></script>
    <script src="./plugin2.js"></script>
    <script>
        $('.result').text($.isH5());
        $('.result1').test1({txt:'插入文本'});
        $('.result2').test2({txt:'扩展插入文本'});
    </script>
</body>

</html>